package com.studentms.service.impl;

import com.studentms.bean.Users;
import com.studentms.dao.UsersDao;
import com.studentms.dao.impl.UsersDaoImpl;
import com.studentms.service.UsersService;

import java.util.ArrayList;

//添加实现类
public class UsersServiceImpl implements UsersService {

    private UsersDao usersDao = new UsersDaoImpl();

    @Override
    public Users login(String username, String password) {
        return usersDao.login(username,password);
    }
}
